export default{
  // 添加一个tab
  addTab (state, option) {
    state.options.push(option)
  },
  delTab (state, option) {
    state.options.splice(state.options.indexOf(option), 1)
  }
}
